package io.github.talelin.latticy.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
@Getter
@Setter
public class Document extends BaseEntity {
    @Id
    private Long id;
    private String title;
    private String content;
    @JsonIgnore
    private String image;
    @JsonIgnore
    private int sort;
}
